
<div class="goods">
    <{foreach from=$goodsShopList item="gShop"}>
    <a href="/davshop/detail/<{$gShop.goodsId}>" class="shopName"><{$gShop.shopName}></a>
    <ul class="goods-items">
        <{foreach from=$gShop.goods item="goods"}>
            <li class="li">
                <div class="left"><img src="<{$goods.thumbsrc}>" class="img" alt=""></div>
                <div class="middle">
                    <p class="title"><{$goods.name}></p>
                    <p class="prompt">
                        <{if $goods.attr.desc}>
                            属性：<{$goods.attr.desc}>
                        <{/if}>
                    </p>
                    <p class="number">
                        价格：￥<{$goods.money.money/100|number_format:2}>
                        数量：<{$goods.money.quantity}>
                    </p>
                    
            </div>
            <div class="right">
                <p class="price">￥<{$goods.money.price/100|number_format:2}></p>
                <p class="quantity"> x <{$goods.money.quantity}></p>
            </div>

            <!-- 不要修改 START -->
            <input type="hidden" name="goodsId[]" value="<{$goods.id}>">
            <input type="hidden" name="goodsAttrId[]" value="<{$goods.attr.id}>">
            <input type="hidden" name="goodsPrice[]" value="<{$goods.money.price}>">
            <input type="hidden" name="goodsQuantity[]" value="<{$goods.money.quantity}>">
            <!-- 不要修改 END  -->
            </li>
        <{/foreach}>
    </ul>
    <{/foreach}>
</div>
